#ifndef TANKMISSILE_H
#define TANKMISSILE_H

#include "bend2d.h"
#include "extension/colors.h"
#include "world.h"

using namespace bend2d;

class MissileTravelTime : public DurableResetter
{
    public:
        void Reset(FastCast *dataToReset);
};

class TankFireEngine;
class TankMissile : public Missile
{
    public:
        TankMissile(const Point& posistion, TankFireEngine* fireEngine);
        Color& GetColor() { return m_MissileColor; }
        void Draw();
    private:
        MissileTravelTime m_Reseter;    
        Color m_MissileColor;
        TankFireEngine* Owner;
};

#endif

